package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author: wufeng
 * @date: 2018/11/16 15:50
 * @desrcption: 快速编辑
 */
@Getter
@Setter
@ToString
public class FormDataFastUpdateDTO extends BaseDTO {

    private static final long serialVersionUID = 5986849740768169425L;

    @NotNull(message = "{dto.msg.formDataFastUpdate.appId.NotNull}")
    private Long appId;

    @NotNull(message = "{dto.msg.formDataFastUpdate.menuId.NotNull}")
    private Long menuId;

    @NotNull(message = "{dto.msg.formDataFastUpdate.formId.NotNull}")
    private Long formId;

    @NotNull(message = "{dto.msg.formDataFastUpdate.dataId.NotNull}")
    private Long dataId;

    private String attr;

    private Object value;
}
